-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add support for Jackson 3-based HashMapper
and RedisSerializer
#3168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pom.xml
Outdated
<dependency> | ||
<groupId>tools.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>3.0.0-rc5</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dependency management available: spring-projects/spring-data-build#2594
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm... I see some test failures using that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, so com.fasterxml.jackson.core:jackson-annotations
did, for whatever reason, not transition to tools.jackson
. The outcome is as expected a mess, with both the 2.19
as well as the 3.0
BOM pointing to different versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, to round things off the verion schema is different, so you need 3.0-rc5
for jackson-annotations
. Not 3.0.0-rc5
as for the rest.
20329b7
to
eb1d320
Compare
Signed-off-by: JavaNo0b <[email protected]>
Original Pull Request: #3142
HashMapper
and RedisSerializer
We now support Jackson 3 through a separate Jackson3HashMapper, Jackson3JsonRedisSerializer, and GenericJackson3JsonRedisSerializer. Jackson 3 uses different defaults than Jackson 2 did therefore, we also provide configuration variants that reflect Jackson 2 behavior for smoother upgrade paths. Original pull request: #3168 Closes #3154
Update since tags and copyright years. Add compatibility configuration for Jackson 2 interop when using Jackson 3-based serializers. Introduce builders for configuration. Extract flattening code and introduce adapters to avoid code duplications. Re-enabled compatibility tests. Original pull request: #3168 See #3154
Update since tags and copyright years. Add compatibility configuration for Jackson 2 interop when using Jackson 3-based serializers. Introduce builders for configuration. Extract flattening code and introduce adapters to avoid code duplications. Re-enabled compatibility tests. Original pull request: #3168 See #3154
We now support Jackson 3 through a separate Jackson3HashMapper, Jackson3JsonRedisSerializer, and GenericJackson3JsonRedisSerializer. Jackson 3 uses different defaults than Jackson 2 did therefore, we also provide configuration variants that reflect Jackson 2 behavior for smoother upgrade paths. Original pull request: #3168 Closes #3154
Update since tags and copyright years. Add compatibility configuration for Jackson 2 interop when using Jackson 3-based serializers. Introduce builders for configuration. Extract flattening code and introduce adapters to avoid code duplications. Re-enabled compatibility tests. Original pull request: #3168 See #3154
work in progress...